﻿
namespace DeepZoomPivotConstructor.PivotLib
{
    /// <summary>
    /// Holds information about each facet catagory
    /// </summary>
    public class FacetCategoryInfo
    {
        /// <summary>
        /// Show this facet on the world wheel.
        /// </summary>
        public bool IsWordWheelVisible { get; set; }

        /// <summary>
        /// Get/Set if this should show up on the meta data window.
        /// </summary>
        public bool IsMetaDataVisible { get; set; }

        /// <summary>
        /// Get/Set if this should be allowed to show up on the filter.
        /// </summary>
        public bool IsFilterVisible { get; set; }

        /// <summary>
        /// Get/Set the number format for formatting decimal values. Only valid when you
        /// have a number facet.
        /// </summary>
        public string NumberFormat { get; set; }

        public FacetCategoryInfo()
        {
            IsWordWheelVisible = true;
            IsMetaDataVisible = true;
            IsFilterVisible = true;
            NumberFormat = "";
        }
    }
}
